package com.car.service.impl;

import com.car.dao.TodayMapper;
import com.car.entity.Today;
import com.car.service.ITodayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("todayService")
public class TodayService implements ITodayService {
    @Autowired
    @Qualifier("todayMapper")
    private TodayMapper todayMapper;
    @Override
    public List<Today> findToday() {
        return todayMapper.findToday();
    }
}
